@import './modules/reset';
@import './modules/header.scss';
@import './modules/footer.scss';
@import './modules/service.scss';

.header {
    background-color: #fff;
    opacity: .92;
    height: 80px;
}

.page-container {
    width: 100%;
    min-height: calc(100vh - 50px);
    // position: relative;
    // overflow: hidden;
    padding-top: 100px;
    background: #fff;

    .page-top {
        margin-top: 20px;
        margin-bottom: 20px;
        height: 643px;
        display: flex;

        .shop-left {
            width: 740px;
            padding-left: 150px;
            display: flex;


            .view-l {
                width: 50px;
                position: relative;
                min-height: 645px;

                ul {
                    display: block;
                    padding-top: 20px;

                    li {
                        width: 50px;
                        height: 50px;
                        margin: 10px 0;
                        border: 1px solid #eee;
                        // position: relative;

                        a>img {
                            width: 100%;
                        }
                    }
                }
            }

            .bigImg-r {
                width: 643px;
                margin-left: 15px;
                height: 645px;
                // position: relative;
                border: 1px solid #eee;
                // overflow: hidden;
                // float: left;

                >img {
                    width: 100%;
                    // height: 100%;
                }
            }
        }

        .shop-right {
            width: 610px;
            padding-left: 45px;
            min-height: 645px;
            float: right;
            // background-color: yellowgreen;

            .shop-t {
                .goods-name {
                    font-size: 25px;
                    line-height: 40px;
                    color: #03234c;
                    font-weight: normal;
                }

                .goods-sn {
                    font-size: 15px;
                    color: #999;
                    line-height: 25px;
                }

                .goods-price {
                    font-size: 22px;
                    color: #03234c;
                    font-weight: 600;
                    line-height: 30px;
                    margin: 15px 0;

                    .mktprice {
                        color: #999;
                        text-decoration: line-through;
                        font-weight: normal;
                        margin-left: 10px;
                        font-size: 15px;
                    }
                }

                .promos {
                    background: #f7f7f7;
                    padding: 20px;

                    .promos-title {
                        height: 22px;
                        line-height: 20px;
                        width: 44px;
                        background: #03234c;
                        color: #fff;
                        text-align: center;
                        font-size: 13px;
                        border-radius: 2px;
                        margin-top: 2px;
                        float: left;
                    }

                    .promos-content {
                        margin-left: 60px;

                        a {
                            display: block;
                            font-size: 13px;
                            line-height: 20px;
                            padding: 3px 0;
                            color: #03234c;
                        }
                    }
                }
            }

            .goods-attr {
                height: 25px;
                color: #03234c;
                margin-top: 20px;
            }

            .ul-list {
                min-height: 90px;
                margin-top: 10px;
                width: 100%;
                min-height: 30px;
                flex-wrap: wrap;
                align-content: flex-end;

                li {
                    height: 80px;
                    width: 80px;
                    display: inline-block;
                    margin-bottom: 10px;
                    margin-right: 10px;
                    border: 1px solid #eee;
                    cursor: pointer;
                    position: relative;
                    background: #fff;
                    text-align: center;
                    color: #03234c;

                    img {
                        width: 100%;
                        align-items: center;
                        border: 2px solid #fff;
                    }
                }
            }

            .attr-list {
                margin-top: 10px;
                width: 100%;
                min-height: 30px;
                display: -webkit-flex;
                flex-wrap: wrap;
                align-content: flex-end;

                li {
                    min-width: 60px;
                    height: 36px;
                    line-height: 34px;
                    padding: 0 5px;
                    display: inline-block;
                    margin-bottom: 10px;
                    margin-right: 10px;
                    border: 1px solid #eee;
                    cursor: pointer;
                    position: relative;
                    background: #fff;
                    text-align: center;
                    color: #03234c;

                    span {
                        line-height: 34px;
                        text-align: center;
                        color: #03234c;
                        border: 1px solid #fff;
                    }
                }
            }

            .buyNum {
                border-bottom: 1px solid #ddd;
                padding: 10px 27px;
                margin: 10px 0;
                border-top: 1px solid #ddd;
                height: 51px;


                .num {
                    font-size: 14px;
                    color: #03234c;
                    height: 30px;
                    line-height: 30px;
                    letter-spacing: 1px;
                    float: left;

                    >em {
                        font-size: 12px;
                        margin-left: 10px;
                        line-height: 30px;
                        color: #777;
                    }
                }

                .numChange {
                    float: right;

                    input {
                        display: inline-block;
                        width: 60px;
                        height: 28px;
                        line-height: 26px;
                        color: #666;
                        margin: 0;
                        vertical-align: top;
                        border: 1px solid #ddd;
                        border-radius: 2px;
                        padding: 0 5px;
                        text-align: center;
                        outline: 0;
                        font-size: 13px;
                    }

                    a {
                        display: inline-block;
                        height: 28px;
                        width: 28px;
                        line-height: 24px;
                        border: 1px solid #f4f4f4;
                        border-radius: 2px;
                        background: #f4f4f4;
                        text-align: center;
                        font-size: 16px;
                        color: #666;
                    }
                }


            }

            .goods-btn {

                >a {
                    height: 56px;
                    line-height: 54px;
                    display: block;
                    width: 47%;
                    text-align: center;
                    border: 1px solid #03234c;
                    color: #03234c;
                    font-size: 16px;
                    margin-top: 10px;
                    background: #fff;
                }

                .btn-addCar {
                    float: left;
                    // display: inline-block;
                }

                .btn-toBuy {
                    background: #03234c;
                    color: #fff;
                    float: right;
                }
            }
        }
    }
}

.page-bottom {
    margin-top: 30px;
    margin-bottom: 20px;
    margin: 0 auto;
    text-align: center;
    // background-color: #232452;
    // padding-left: 150px;
    width: 1350px;

    // img{
    //     // width: 100%;
    // }
}

.buyInfo{
    width: 600px;
    height: 40px;
    // background-color: yellowgreen;
    margin: 0 auto;
    text-align: center;
    font-size: 15px;
    position: absolute;
    left: 0;
    right: 0;
    color: hotpink;
    top: 80px;
    min-width: 1280px;

    .swiper-container {
        width: 100%;
        height: 100%;

        .swiper-slide{
            width: 100%;
            height: 100%;
            line-height: 40px;
            font-weight: 900;
        }
    }  
}
